package com.dz.goods.domain.repository;

import com.dz.goods.domain.entity.Spu;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.querydsl.QuerydslPredicateExecutor;
import org.springframework.stereotype.Repository;

@Repository
public interface SpuRepository extends JpaRepository<Spu,Long>, QuerydslPredicateExecutor<Spu> {
    Spu findByIdAndDeleteFlag(Long id,Integer deleteFlag);
}
